// 修复ant-icon下沉
.anticon {
  vertical-align: unset;
  transform: translateY(-1px);
}

// 修复树形下拉搜索框宽度
.ant-select-search__field {
  width: 100% !important;
}

// 去除ant-table表格线条-调整间距
.ant-table-thead>tr>th {
  padding: 12px 8px;
}

.ant-table-tbody>tr>td {
  border: none;
  padding: 10px 8px;
}

// 表格内容居中
.ant-table-thead>tr>th,
.ant-table-tbody>tr>td {
  text-align: center;
}

// 操作行居左
.ant-table-fixed-right {
  .ant-table-fixed {

    .ant-table-thead>tr>th,
    .ant-table-tbody>tr>td:not(.ant-table-selection-column) {
      text-align: left;
    }
  }
}

// 表格斑马纹
.ant-table-tbody>tr:nth-child(2n)>td {
  background-color: #fafafa;
}

// 无内容占位
.ant-table-tbody>tr>td:empty,
.ant-table-tbody>tr>td>div:only-child:empty,
.ant-table-tbody>tr>td>span:only-child>div:only-child:empty {
  &::before {
    content: '';
  }
}

// 线条颜色变淡
.ant-card-head,
.ant-card-head .ant-tabs-bar,
.ant-tabs .ant-tabs-left-content,
.ant-tabs .ant-tabs-left-bar,
.ant-table-thead>tr>th,
.ant-table-tbody>tr>td {
  border-color: #F5F5F5;
}

.ant-table-filter-dropdown {
  padding: 5px 0;

  .ant-checkbox-group-item {
    display: block;
    margin-left: 8px;
  }
}

// 主页面左侧ant-menu隐藏一级菜单箭头
.logo+.ant-menu.ant-menu-vertical>.ant-menu-submenu>.ant-menu-submenu-title>.ant-menu-submenu-arrow {
  display: none;
}

// 弹窗内滚动
.ant-modal-body {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

// 弹窗按钮居中
.ant-modal-footer {
  text-align: center;

  .ant-btn {
    min-width: 100px;
  }
}

.ant-pagination-item a {
  color: rgba(0, 0, 0, 0.65) !important;
}

.ant-pagination-item-active a {
  color: #1890ff !important;
}

.ant-table-filter-dropdown {
  padding: 0;
}

.ant-form-item-control.has-error {
  .ant-upload-select-picture-card {
    border-color: #f5222d;
  }
}

// 解决表格内上传组件 阴影层错位
.ant-upload-list-picture-card .ant-upload-list-item-info::before {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}


#edui_fixedlayer {
  z-index: 1001 !important;
}

.ant-cascader-menus {
  .ant-cascader-menu {
    height: 300px;
  }
}